import {HTTP} from '../utils/http'

class StudyLoggerApi extends HTTP {
    /**
     * 查学习记录
     */
    getStudyRecordList(data){
        return this.request({
            url: '/sp-exam-self/studyRecordList',
            data: data,
            method:'post'
        })
    }

    /**
     * 清空学习记录
     */
    deleteStudyRecordList(data){
        return this.request({
            url: '/sp-exam-self/emptyExamSelfRecord',
            data: data,
            method:'post'
        })
    }
}
export default new StudyLoggerApi
